/*
** struc.h for Mortal LIF7 in /home/minot_a/Fac/include
** 
** Made by yoann1 minot
** Login   <minot_a@epitech.net>
** 
** Started on  Mon Oct 18 16:44:39 2010 yoann1 minot
** Last update Thu Nov 11 00:44:57 2010 yoann1 minot
*/

#ifndef		_STRUC_H_
# define	_STRUC_H_

typedef struct	s_perso
{
  SDL_Surface	*sprite[2];
  SDL_Rect	pos_sprite[2];
  SDL_Rect	pos_perso[2];
  SDL_Rect	nb_life1;
  SDL_Rect	nb_life2;
}		t_perso;

typedef struct	s_cpt_mv
{
  int		saut[2];
  int		poing[2];
  int		pied[2];
}		t_cpt_mv;

typedef	struct	s_decor
{
  SDL_Surface	*ecran;
  SDL_Surface	*fond;
  SDL_Surface	*life[4];
  SDL_Rect	pos_fond;
  SDL_Rect	pos_life1;
  SDL_Rect	pos_life2;
  SDL_Rect	pos_lifeg1;
  SDL_Rect	pos_lifeg2;
}		t_decor;

# define WIDTH_WIN 1024
# define HEIGHT_WIN 768
# define RESOLUTION 32

#endif		/* !_STRUC_ */
